#!/bin/bash

set -e

# Inhibit display screensaver.

if [[ ! -z "$DISPLAY" ]]; then
  # 防止屏幕熄灭
  xset s off -dpms
fi
